﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// 诚招代理的实体类
/// </summary>
namespace Agent
{
    public class TSincereAgent
    {
        #region Model
        private int _id;
        private int _userid;
        private string _name;
        private int _agenttype;
        private string _title;
        private string _validity;
        private string _brand;
        private string _investment;
        private decimal _amount;
        private decimal _initialfee;
        private string _require;
        private string _cradle;
        private decimal _payback;
        private decimal _period;
        private decimal _concession;
        private decimal _contract;
        private int _count;
        private int _businessdate;
        private bool _ismorebrand;
        private string _businessmode;
        private string _developmental;
        private string _detail;
        private string _picture;
        private int _verify;
        private bool _recommend;
        private DateTime _adddate;
        private string _obligate;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }

        /// <summary>
        /// 代理加盟名称
        /// </summary>
        public string Name
        {
            set { _name = Base.Common.FilterHtml(value); }
            get { return _name; }
        }
        /// <summary>
        /// 代理加盟所属类目
        /// </summary>
        public int AgentType
        {
            set { _agenttype = value; }
            get { return _agenttype; }
        }
        /// <summary>
        /// 信息标题
        /// </summary>
        public string Title
        {
            set { _title = Base.Common.FilterHtml(value); }
            get { return _title; }
        }
        /// <summary>
        /// 信息有效期
        /// </summary>
        public string Validity
        {
            set { _validity = Base.Common.FilterHtml(value); }
            get { return _validity; }
        }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand
        {
            set { _brand = Base.Common.FilterHtml(value); }
            get { return _brand; }
        }
        /// <summary>
        /// 基本投资额
        /// </summary>
        public string Investment
        {
            set { _investment = Base.Common.FilterHtml(value); }
            get { return _investment; }
        }
        /// <summary>
        /// 保证金额
        /// </summary>
        public decimal Amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        /// 加盟费
        /// </summary>
        public decimal InitialFee
        {
            set { _initialfee = value; }
            get { return _initialfee; }
        }
        /// <summary>
        /// 项目区域要求
        /// </summary>
        public string Require
        {
            set { _require = Base.Common.FilterHtml(value); }
            get { return _require; }
        }
        /// <summary>
        /// 品牌发源地
        /// </summary>
        public string Cradle
        {
            set { _cradle = Base.Common.FilterHtml(value); }
            get { return _cradle; }
        }
        /// <summary>
        /// 预计回报率
        /// </summary>
        public decimal Payback
        {
            set { _payback = value; }
            get { return _payback; }
        }
        /// <summary>
        /// 预计回报周期
        /// </summary>
        public decimal Period
        {
            set { _period = value; }
            get { return _period; }
        }
        /// <summary>
        /// 特许权使用费
        /// </summary>
        public decimal Concession
        {
            set { _concession = value; }
            get { return _concession; }
        }
        /// <summary>
        /// 合同期限
        /// </summary>
        public decimal Contract
        {
            set { _contract = value; }
            get { return _contract; }
        }
        /// <summary>
        /// 加盟商总数
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 特许经营时间
        /// </summary>
        public int BusinessDate
        {
            set { _businessdate = value; }
            get { return _businessdate; }
        }
        /// <summary>
        /// 是否多品牌经营
        /// </summary>
        public bool isMoreBrand
        {
            set { _ismorebrand = value; }
            get { return _ismorebrand; }
        }
        /// <summary>
        /// 经营模式
        /// </summary>
        public string BusinessMode
        {
            set { _businessmode = Base.Common.FilterHtml(value); }
            get { return _businessmode; }
        }
        /// <summary>
        /// 发展模式
        /// </summary>
        public string Developmental
        {
            set { _developmental = Base.Common.FilterHtml(value); }
            get { return _developmental; }
        }
        /// <summary>
        /// 详细说明
        /// </summary>
        public string Detail
        {
            set { _detail =Base.GetRequest.RemoveHTMLForEditor(value) ; }
            get { return _detail; }
        }
        /// <summary>
        /// 上传图片
        /// </summary>
        public string Picture
        {
            set { _picture = Base.Common.FilterHtml(value); }
            get { return _picture; }
        }
        /// <summary>
        /// 审核
        /// </summary>
        public int Verify
        {
            set { _verify = value; }
            get { return _verify; }
        }
        /// <summary>
        /// 推荐
        /// </summary>
        public bool Recommend
        {
            set { _recommend = value; }
            get { return _recommend; }
        }
        /// <summary>
        /// 添加日期
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        /// <summary>
        /// 预留字段
        /// </summary>
        public string Obligate
        {
            set { _obligate = Base.Common.FilterHtml(value); }
            get { return _obligate; }
        }
        #endregion Model
    }
}
